package cn.com.qtgl.init.tenant.model.entity;

import cn.melonlib.cores.commons.model.entity.RecordEntity;
import cn.melonlib.cores.model.anno.ModelComment;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.Entity;
import javax.persistence.Table;


@Data
@EqualsAndHashCode(callSuper = true)
@ModelComment("当前用户租户配置信息")
@Entity(name = "LocalTenant")
@Table(name = "init_local_tenant")
public class LocalTenant extends RecordEntity {

    @ModelComment("接口数据ID")
    private String apiId;

    @ModelComment("域名")
    private String domain;

    @ModelComment("编码")
    private String code;

    @ModelComment("名称")
    private String name;

    @ModelComment("LOGO160*160")
    private String logo;

    @ModelComment("租户配置")
    private String config;

    @ModelComment("本地配置")
    private String localConfig;
}
